home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / X11 / XDefineCursor.z / XDefineCursor
Encoding:
Text File  |  1998-10-30  |  2.7 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXDDDDeeeeffffiiiinnnneeeeCCCCuuuurrrrssssoooorrrr((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333)))) XXXXDDDDeeeeffffiiiinnnneeeeCCCCuuuurrrrssssoooorrrr((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XDefineCursor, XUndefineCursor - define cursors
  10.  
  11.      SSSSYYYYNNNNTTTTAAAAXXXX
  12.           XDefineCursor(_d_i_s_p_l_a_y, _w, _c_u_r_s_o_r)
  13.                 Display *_d_i_s_p_l_a_y;
  14.                 Window _w;
  15.                 Cursor _c_u_r_s_o_r;
  16.  
  17.           XUndefineCursor(_d_i_s_p_l_a_y, _w)
  18.                 Display *_d_i_s_p_l_a_y;
  19.                 Window _w;
  20.  
  21.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  22.           _c_u_r_s_o_r    Specifies the cursor that is to be displayed or
  23.                     _N_o_n_e.
  24.  
  25.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  26.  
  27.           _w         Specifies the window.
  28.  
  29.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  30.           If a cursor is set, it will be used when the pointer is in
  31.           the window.  If the cursor is _N_o_n_e, it is equivalent to
  32.           _X_U_n_d_e_f_i_n_e_C_u_r_s_o_r.
  33.  
  34.           _X_D_e_f_i_n_e_C_u_r_s_o_r can generate _B_a_d_C_u_r_s_o_r and _B_a_d_W_i_n_d_o_w errors.
  35.  
  36.           The _X_U_n_d_e_f_i_n_e_C_u_r_s_o_r function undoes the effect of a previous
  37.           _X_D_e_f_i_n_e_C_u_r_s_o_r for this window.  When the pointer is in the
  38.           window, the parent's cursor will now be used.  On the root
  39.           window, the default cursor is restored.
  40.  
  41.           _X_U_n_d_e_f_i_n_e_C_u_r_s_o_r can generate a _B_a_d_W_i_n_d_o_w error.
  42.  
  43.      DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  44.           _B_a_d_A_l_l_o_c  The server failed to allocate the requested
  45.                     resource or server memory.
  46.  
  47.           _B_a_d_C_u_r_s_o_r A value for a Cursor argument does not name a
  48.                     defined Cursor.
  49.  
  50.           _B_a_d_W_i_n_d_o_w A value for a Window argument does not name a
  51.                     defined Window.
  52.  
  53.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  54.           XCreateFontCursor(3X11), XRecolorCursor(3X11)
  55.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.